.div{:class=>"listing_container clearfix",:id=>"video_#{video.id}"}
  -unless defined?(is_showing) and is_showing
    .listing_thumbnail{:class=>"clearfix"}
      =link_to image_tag("http://i3.ytimg.com/vi/#{video.video_id}/default.jpg", {:width=>120, :height=>90}), video_url(video)
  
  .listing_details
    .listing_title 
      =link_to h(truncate(video.title, :length=>100)), video_url(video)
    .listing_description
      %table
        %tr
          %td
            -if video.user.fb_uid and video.user.fb_uid > 0
              =fb_profile_pic(video.user.fb_uid, {:size=>"square"})
          %td
            =h_br(truncate(video.description,:length=>180))
    .listing_submitter_name
      -if video.user.fb_uid and video.user.fb_uid > 0
        %b=fb_name(video.user.fb_uid)
      =when_happened(video)
    -if defined?(show_actions) and show_actions 
      =render :partial=>"video_actions", :locals => {:video => video,:show_comments_link=>true} 
    